- 
		Home
	
 
	- 
PubyDoc – Data Tables and Charts
 
- 
2.0.7 (latest)
 
- 
Code
 
- 
Classes
 
-  BestFit 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											52 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											457 | 
										
																			
											| Lines of code | 
											183 | 
										
																			
											| Logical lines of code | 
											104 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											159 | 
										
																			
											| Methods | 
											24 | 
										
																			
											| Properties | 
											21 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 24
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| calculateGoodnessOfFit() | 
									A  | 
																	43 | 
													11 | 
													48 | 
							
					
				| leastSquareFit() | 
									S  | 
																	52 | 
													4 | 
													23 | 
							
					
				| __construct() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| getSlope() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getSlopeSE() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getIntersect() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getIntersectSE() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getGoodnessOfFit() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getGoodnessOfFitPercent() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| getStdevOfResiduals() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getSSRegression() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getSSResiduals() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getDFResiduals() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getF() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getCovariance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getCorrelation() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| getError() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getBestFitType() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getValueOfYForX() | 
									S  | 
																	100 | 
													1 | 
													0 | 
							
					
				| getValueOfXForY() | 
									S  | 
																	100 | 
													1 | 
													0 | 
							
					
				| getXValues() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getEquation() | 
									S  | 
																	100 | 
													1 | 
													0 | 
							
					
				| getYBestFitValues() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| sumSquares() | 
									S  | 
																	66 | 
													1 | 
													10 |